<g:render template="/common/messages" model="${pageScope.getVariables() + [bean:user]}" />

<h1>Account Activation</h1>
<p></p><br/>
<div id="activationForm" class="userForm">
	<table width="80%" align="center">
		 <thead>
        	<tr>
            	<th align='left'><font color='#808080' size="2">profile: ${user.name}</font></th>
            	<th></th>
        	</tr>
    	</thead>
    	<tbody>
            <tr>
                <td align='left'><font size="1">Date of Birth: ${user.birthDate}</font></td>
                <td align='left'><font size="1">Gender: ${user.gender}</font></td>
            </tr>
            <tr>
                <td align='left'><font size="1">Email Address: ${user.email}</font></td>
                <td align='left'><font size="1">Mobile: ${user.mobile}</font></td>
            </tr>
    	</tbody>
	</table>
	<br/>
	<br/>
	<table width="80%" align="center">
		 <thead>
        	<tr width="100%">
            	<th width="100%" align='left'>Using Terms and Conditions</th>
        	</tr>
    	</thead>
    	<tbody>
            <tr width="100%">
            	<td width="100%">
	                <textarea style="width:100%;resize:none;" rows="10">
MasterCard Incorporated (NYSE: MA) or MasterCard Worldwide is an American multinational financial services corporation with its headquarters in the MasterCard International Global Headquarters, Purchase, New York, United States.[1] Throughout the world, its principal business is to process payments between the banks of merchants and the card issuing banks or credit unions of the purchasers who use the "MasterCard" brand debit and credit cards to make purchases. MasterCard Worldwide has been a publicly traded company since 2006. Prior to its initial public offering, MasterCard Worldwide was a cooperative owned by the 25,000+ financial institutions that issue its branded cards.MasterCard, originally known as Master Charge,[2] was created by several California banks as a competitor to the BankAmericard issued by Bank of America, which later became the Visa credit card issued by Visa Inc.
					</textarea>
				</td>
            </tr>
            <tr>
                <td width="100%" align='left'><strong>IMPORTANT:</strong>Please Read Terms and Conditions</td>
            </tr>
    	</tbody>
	</table>
	<br/>
    <g:formRemote name="register" url="[controller:'user',action:'sendSMSActivationCode']" update="contentPane">
       <table width="80%" align="center">
    	<tbody>
            <tr>
                <td align='left'>
                	<g:submitButton name="Submit" value="Activate My Profile" class="btn btn-primary" />
                </td>
            </tr>
    	</tbody>
		</table>
    </g:formRemote>
    <br/>
    <g:form name="register" url="[controller:'user',action:'smsActivate']" update="contentPane">
     	<table width="80%" align="center">
    	<tbody>
            <tr>
                <td align='left'>
                	Please enter the One Time Password: OTP-<input type="text" name="key" value="${params.key}" style="width:60px;" maxlength="6"/>
                 </td>
            </tr>
            <tr>
                <td align='left'>
                	<g:submitButton name="Submit" value="Confirm" class="btn btn-primary" />
    	         </td>
            </tr>
    	</tbody>
		</table>
    </g:form>
</div>

<g:render template="/common/messages_effects" model="${pageScope.getVariables()}" />
